package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseDomainExcludeId;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;


/**
 * 
 * <p>Title: OutpatientDiagnosis</p>
 * <p>Description: 门诊诊断信息实体类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2017年2月21日 上午11:16:45
 */
@Entity
@Table(name=ConstSysParam.MODULE_OUTPATIENT_DIAGNOSIS)
public class OutpatientDiagnosis extends BaseDomainExcludeId implements BaseDomainInf {

	/*
	 * 主键
	 */
	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="outpatientDiagnosisGenerator")
	@TableGenerator(name="outpatientDiagnosisGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_OUTPATIENT_DIAGNOSIS,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;
	
	@Override
	public Long getId() {
		// TODO Auto-generated method stub
		return this.id;
	}


	@Override
	public void setId(Long id) {
		// TODO Auto-generated method stub
		this.id = id;
	}
	
	//就诊序号
	private String jzxh;
	
	//门诊处方识别
	private Long outpatient_number;
	
	//患者编码
	private Long patient_no;
	
	//患者名称
	private String patient_name;
	
	//诊断
	private String diagnosis;
	
	//疾病编码
	private String icd9;

	public Long getOutpatient_number() {
		return outpatient_number;
	}


	public void setOutpatient_number(Long outpatient_number) {
		this.outpatient_number = outpatient_number;
	}


	public Long getPatient_no() {
		return patient_no;
	}


	public void setPatient_no(Long patient_no) {
		this.patient_no = patient_no;
	}


	public String getPatient_name() {
		return patient_name;
	}


	public void setPatient_name(String patient_name) {
		this.patient_name = patient_name;
	}


	public String getDiagnosis() {
		return diagnosis;
	}


	public void setDiagnosis(String diagnosis) {
		this.diagnosis = diagnosis;
	}


	public String getIcd9() {
		return icd9;
	}


	public void setIcd9(String icd9) {
		this.icd9 = icd9;
	}


	/**
	 * @return the jzxh
	 */
	public String getJzxh() {
		return jzxh;
	}


	/**
	 * @param jzxh the jzxh to set
	 */
	public void setJzxh(String jzxh) {
		this.jzxh = jzxh;
	}	
	
	
	
}
